package _spring_test._jdbc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: huangya
 * @Date: 2020/5/1
 * @Description:
 */
public class _JDBCTest {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("application-jdbc.xml");
        AccountServiceImpl accountServiceImpl = (AccountServiceImpl)ac.getBean("accountService");
        accountServiceImpl.insertAccount();
    }
}
